package com.example.designpatterns.behavioral.visitor;

/**
 * 具体元素：家居用品
 *
 * @author scott
 */
public class HomeProduct implements Product {

    @Override
    public void accept(Visitor visitor) {
        visitor.visitHomeProduct(this);
    }

    public void applyPromotion() {
        System.out.println("家居用品促销活动");
    }

}